package com.lcf.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 订单(UserOrder)表实体类
 *
 * @author lcf
 * @since 2025-04-24 21:14:33
 */
@Data
@NoArgsConstructor
public class UserOrderDTO {
    /**
     * 商品
     */
    @Schema(description = "商品")
    @Size(min = 1, message = "商品不能为空")
    private List<OrderGoodsDTO> goodsList;
}

